Reference: serializeProc

deserializeProc reads an opaque, POD ("plain 'old data") structure containing the filter's current configuration into a filter.

Prototype

void deserializeProc(FilterActivation *fa, const FilterFunctions *ff, const char *buf, int size);

Parameters:
    fa        Pointer to filter activation structure
    ff        Pointer to callback function structure
    buf       Memory block to deserialize from.
    maxbuf    Size of memory block in bytes.

Return value:
    No return value.

Exceptions:
    Except*() functions may be called from this function.

Requirements:
    Function may be omitted.  If it is omitted, deserialization is emulated
    by a byte copy into the filter data structure, and the filter is considered
    to be non-suspendable.

Host support:
    Supported in API V8, but not used by VirtualDub 1.4.11.

Remarks

This function is the inverse of serializeProc. Note that it is called with an initialized filter, so the C++ analog of this function is an assignment operator, not a copy constructor.

[up] back to main page


VirtualDub external filter SDK 1.05©1999-2001 Avery Lee <phaeron@virtualdub.org>